<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=utf-8" />
    <title>
      6.41.&nbsp;XML::Parser-2.44
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  </head>
  <body class="lfs" id="lfs-8.0">
    <div class="navheader">
      <h4>
        Linux From Scratch - Version 8.0
      </h4>
      <h3>
          第六章 安装基本系统软件
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="perl.html" title="Perl-5.24.1">上一页</a>
          <p>
            Perl-5.24.1
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="intltool.html" title=
          "Intltool-0.51.0">下一页</a>
          <p>
            Intltool-0.51.0
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="chapter06.html" title=
          "第六章 安装基本系统软件">返回</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Linux From Scratch - Version 8.0 ">首页</a>
        </li>
      </ul>
    </div>
    <div class="wrap" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="ch-system-xml-parser" name="ch-system-xml-parser"></a>6.41.
        XML::Parser-2.44
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <p>
          XML::Parser 模块是 James Clark 的 XML 解析模块 Expat 的 Perl 接口。
        </p>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">预计构建时间:</strong>
              <span class="segbody">少于 0.1 SBU</span>
            </div>
            <div class="seg">
              <strong class="segtitle">需要磁盘空间:</strong>
              <span class="segbody">2.0 MB</span>
            </div>
          </div>
        </div>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          6.41.1. XML::Parser 安装过程
        </h2>
        <p>
            准备编译 XML::Parser:
        </p>
        <pre class="userinput">
<kbd class="command">perl Makefile.PL</kbd>
</pre>
        <p>
          编译软件包:
        </p>
        <pre class="userinput">
<kbd class="command">make</kbd>
</pre>
        <p>
          测试编译结果，输入:
        </p>
        <pre class="userinput">
<kbd class="command">make test</kbd>
</pre>
        <p>
          安装软件包:
        </p>
        <pre class="userinput">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          <a id="contents-xml-parser" name="contents-xml-parser"></a>6.41.2.
          XML::Parser 的内容
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">安装的模块:</strong>
              <span class="segbody">Expat.so</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
              简要介绍
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="Expat" name="Expat"></a><span class=
                    "term"><code class="filename">Expat</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    提供 Expat 的 Perl 接口
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="perl.html" title="Perl-5.24.1">上一页</a>
          <p>
            Perl-5.24.1
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="intltool.html" title=
          "Intltool-0.51.0">下一页</a>
          <p>
            Intltool-0.51.0
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="chapter06.html" title=
          "第六章 安装基本系统软件">返回</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Linux From Scratch - Version 8.0 ">首页</a>
        </li>
      </ul>
    </div>
  </body>
</html>
